import React from 'react'
import { View,Text,Image } from "@tarojs/components";
import './index.scss'
class Community extends React.Component {

  render() {
    const numbers = [...Array(100).keys()];
    const listItems = numbers.map((number)=>{
      return (
        <View
          taroKey={String(number)}
          className='list-item'
        >
          <Image 
          className='image-icon'
          src='https://img.asman.com.cn/assets/1575350962837_88569.png'
          mode='scaleToFill'
          />
          <View className='item-subview'>
            <View className='item-subivew-subview'>
              <Text className='text-name'>WangG</Text>
              <Text className='text-date'>2020-10-18  20:46</Text>
            </View>
            <Text className='text-status'>未联系客户</Text>
          </View>
        </View>
      );
    });
    return (
      <View className='index'>
        <Text>1234</Text>
        {listItems}
      </View>
    );
  }
}
export default Community;
